package com.ruoyi.familyManagement.mapper;

import com.ruoyi.familyManagement.domain.China;
import com.ruoyi.familyManagement.domain.vo.FamilyInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DocFamilyAddressMapper {

    List<China> selectAllProvinces();

    List<China> selectCitiesByProvinceId(Integer provinceId);

    List<China> selectDistrictsByCityId(Integer cityId);

    int updateFamilyInfo(@Param("userId") Long userId, @Param("familyInfoVO") FamilyInfoVO familyInfoVO);

}
